﻿#ifndef SENDCOMMONMSG_H
#define SENDCOMMONMSG_H

#include <QObject>
#include <QThread>

#include "NetHeader.h"

extern QUEUE_DATA<MESG> g_sendQueue;

class SendComMsg : public QObject
{
    Q_OBJECT
public:
    explicit SendComMsg(QObject *parent = nullptr);

    void toSendQueue(MsgType type);

    void toSendQueue(MsgType type, QByteArray data);

    void toSendJoinMsgQueue(MsgType type, quint32 roomNo);

signals:
};

#endif // SENDCOMMONMSG_H
